package com.cloud.school.app.service;

import com.cloud.school.app.model.ChatRoomModel;
import com.cloud.school.app.util.Pager;

import java.util.List;

/**
 * @ClassName Group
 * @Description TODO
 * @Author 36297
 * @Date 2018/12/14 0:48
 * @Version 1.0
 */
public interface ChatRoomService {
    boolean save(ChatRoomModel chatRoomModel);

    boolean delete(Long chatRoomId);

    List<ChatRoomModel> selectAll();

    List<ChatRoomModel> selectByNameLike(String name);

    Pager<ChatRoomModel> selectAll(int pNo);
}
